package pl.edu.pw.polygen.menu.commands;


import org.springframework.stereotype.Component;

import pl.edu.pw.polygen.util.ApplicationHelper;

import com.vaadin.ui.MenuBar.Command;
import com.vaadin.ui.MenuBar.MenuItem;

@Component
public class ShowAxisCommand implements Command {
	

	private static final long serialVersionUID = 7875336550119938214L;

	@Override
	public void menuSelected(MenuItem selectedItem) {
		System.out.println(selectedItem.getText());
		System.out.println(ApplicationHelper.getLoggedUser().getUsername());
	}

}
